<div class="row-fluid">
    <div class="span12">
            <fieldset>
                <legend class="clearfix">#i18n{portal.style.manage_stylesheets.title}
                    <span class="pull-right">
                        <form class="form-inline" method="post"  action="jsp/admin/style/CreateStyleSheet.jsp" >
                            <input type="hidden" name="mode_id" value="${mode_id}" />
                            <button class="btn btn-primary btn-small" type="submit" ><i class="icon-plus icon-white"></i><span class="hidden-phone">#i18n{portal.style.manage_stylesheets.buttonAdd}</span></button>
                        </form>
                    </span>
                </legend>
                <div class="well">
                    <form class="form-search" method="post" >
                        <label class="control-label" for="mode_id" >#i18n{portal.style.manage_stylesheets.labelSortByMode} :</label>
                        <@comboSorted name="mode_id" default_value="${mode_id}" items=mode_list />
                        <button class="btn btn-primary btn-small" type="submit" ><i class="icon-filter icon-white"></i>#i18n{portal.util.labelFilter}</button>
                    </form>
                </div>
                <@paginationAdmin paginator=paginator combo=1 />   
                <table class="table table-striped table-condensed">
                    <tr>
                        <th>
                            #i18n{portal.style.manage_stylesheets.columnName}
                            <@sort jsp_url="jsp/admin/style/ManageStyleSheets.jsp" attribute="description" />
                        </th>
                        <th>#i18n{portal.style.manage_stylesheets.columnFilename}<@sort jsp_url="jsp/admin/style/ManageStyleSheets.jsp" attribute="file" /></th>
                        <th>#i18n{portal.util.labelActions}</th>
                    </tr>            
                    <#list stylesheet_list as stylesheet >
                    <tr>
                        <td>${stylesheet.description}</td>
                        <td>${stylesheet.file}</td>
                        <td><a href="jsp/admin/style/ModifyStyleSheet.jsp?stylesheet_id=${stylesheet.id}" class="btn btn-primary btn-mini"><i class="icon-edit icon-white"></i></a></td>
                    </tr>
                    </#list>       
                </table>
                <@paginationAdmin paginator=paginator />
            </fieldset>
    </div>
</div>

